package com.caigou.service;

import com.caigou.bean.cms.entity.ChannelData;
import com.caigou.bean.cms.param.ArticlePublishChannelParam;
import com.caigou.pojo.ArticleReleaseChannelList;
import com.caigou.pojo.ArticleReleaseList;
import com.caigou.pojo.ChannelDataMobile;

import java.util.List;

public interface ChannelDataService {
    Integer loadArticleReleaseCount(String articleId);

    List<ArticleReleaseList> loadArticleReleaseList(String articleId);

    void saveChannelData(Integer titleType, String articleId, String plateId, Integer articleType, Integer showIndex, Integer recommendStatus, Integer stickStatus, Integer lockStatus);

    int loadArticleReleaseStatus(String articleId, String plateId);

    ChannelData loadLastChannelData(String articleId);

    ChannelData loadArticleReleaseChannelData(String articleId, String plateId);

    List<ChannelData> loadLastChannelAllData(String articleId);

    List<String> loadRssList();

    List<ChannelDataMobile> loadChannelBannerDataMobileList(String plateId);

    List<ChannelDataMobile> loadChannelDataMobileList(String plateId);

    List<ChannelDataMobile> loadChannelAllDataMobileList(String plateId);

    List<ChannelDataMobile> loadChannelDataMoreMobileList(List<String> plateIdList);

    int deleteArticle(String articleId);

    List<ArticleReleaseChannelList> loadArticleReleaseChannelList(String articleId);

    int loadChannelDataCount(String plateId);

    int loadChannelDataLockCount(String plateId);
}
